<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model backend\models\JjrUserCommission */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="jjr-user-commission-form">

    <?php $form = ActiveForm::begin(['id' => 'commission-form']); ?>
    <?= $form->field($userProject, 'id')->hiddenInput()->label('')?>

    <?= $form->field($project, 'name')->textInput(['maxlength' => true,'readonly'=>'true'])->label('项目名称') ?>
    <?= $form->field($user, 'real_name')->textInput(['maxlength' => true,'readonly'=>'true'])->label('经纪人') ?>
     <?= $form->field($model, 'amount')->textInput(['maxlength' => true]) ?>


    <?= $form->field($model, 'transfer_status')->dropDownList(['1' => '未结佣', '2'=>'已结佣'])->label('结佣状态') ?>

    <div class="form-group">
          <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
